package com.huike.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 线索池规则
 * </p>
 *
 * @author author
 * @since 2023-08-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_rule_pool")
@ApiModel(value="TbRulePool对象", description="线索池规则")
public class MPTbRulePool implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "线程池规则")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "回收时限")
    private Integer limitTime;

    @ApiModelProperty(value = "回收时限字典")
    private String limitTimeType;

    @ApiModelProperty(value = "警告时间")
    private Integer warnTime;

    @ApiModelProperty(value = "警告时间字典单位类型")
    private String warnTimeType;

    @ApiModelProperty(value = "重复捞取时间")
    private Integer repeatGetTime;

    @ApiModelProperty(value = "重复捞取时间字典")
    private String repeatType;

    @ApiModelProperty(value = "最大保有量")
    private Integer maxNunmber;

    @ApiModelProperty(value = "0 线索 1 商机")
    private String type;


}
